registerTests([
function SelectMany_Test_0()
{
	var myArray = [[{x: 1}, {x: 3}], [{x: 4}, {x: 4}, {x: 4}], [{x: 5}]];
	var result = myArray.SelectMany("o => o.x");
	
	Assert.areEqual(result.length, 6);
	Assert.areEqual(result[0], 1);
	Assert.areEqual(result[1], 3);
	Assert.areEqual(result[2], 4);
	Assert.areEqual(result[3], 4);
	Assert.areEqual(result[4], 4);
	Assert.areEqual(result[5], 5);
},
function SelectMany_Test_1()
{
	var myArray = [[1, 3], [4, 4, 4], [5]];
	var result = myArray.SelectMany("o => o");
	
	Assert.areEqual(result.length, 6);
	Assert.areEqual(result[0], 1);
	Assert.areEqual(result[1], 3);
	Assert.areEqual(result[2], 4);
	Assert.areEqual(result[3], 4);
	Assert.areEqual(result[4], 4);
	Assert.areEqual(result[5], 5);
},
]);